Refresh SizeMeasure support and make archived row decoding fallible - #51
Merged
Conversation
pathscale
force-pushed
the
size-measure-update
branch
from
August 3, 2026 06:04
e979130 to
78c9ca7
Compare
SizeMeasure update
Owner
|
Disposition of the latest blocker review:
Validation is listed in the PR body. WorkTable, web3.trading-backend, and api.support.cafe compile against the DataBucket 0.5.0 dependency chain. Live S3 validation remains deferred by request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refreshes the original SizeMeasure work onto current main, modernizes dependencies, and closes the archived-row safe-API soundness issue.
Changes
Breaking API and versioning
DataBucket is bumped to 0.5.0 because this soundness correction intentionally changes public decoding contracts:
The derive crate remains 0.3.17 because its public changes are additive and its generated-code correction is compatible.
Persistence compatibility
This PR does not intentionally change the archive or page format. Generic primitive arrays deliberately retain align() == None, matching the existing u8 array implementations, and regression tests cover the old 20-byte and 32-byte behavior. rkyv guarantees format compatibility across the 0.8 release line.
Validation
The DataBucket package dry-run must follow publication of its exact data_bucket_derive 0.3.17 dependency. Live api.support.cafe S3 validation is intentionally deferred.
Release order after merge: data_bucket_derive 0.3.17, then data_bucket 0.5.0.
Fixes #61